home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-08-28 | 527 b | 15 lines | [TEXT/KEEN] |
- # $FileSizesAndDates : file name, size of data fork in bytes, mod date.
- # # Typically use the "MFS selected files" input option, and "Show stdout".
-
- BEGIN {
- print "File name • size • yr:mo:day:hr:min:sec"
- print "----------------------------------------------------------"
- for (i = 1; i < ARGC; ++i)#note ARGV[0] is just "hAWK"
- {
- n = split(ARGV[i], names, ":")
- curSize = fsize(ARGV[i])
- print names[n], "\t•", curSize, "\t•", fdate(ARGV[i])
- totSize += curSize
- }
- print ARGC-1, "files, ", totSize, "bytes total."
- }